export default (Vue) => {
  Vue.filter('productType', (type) => {
    /*eslint-disable*/
    switch (+type) {
      case 0:
        return '5.3以前的内容'
        break
      case 1:
        return '资讯'
        break
      case 2:
        return '精选组合'
        break
      case 3:
        return '策略组合'
        break
      case 4:
        return '智能工具'
        break
      default:
        return type
    }
  /*eslint-enable*/
  })
}
